<template>
  <div id="app">
    <div>
      <span class="title">Vuex 购物车示例</span>
      <pop-cart class='pop-cart' />
    </div>
    <router-view />
  </div>
</template>
<script>
import popCart from './components/pop-cart'
export default {
  name: 'App',
  components: {
    popCart
  }
}
</script>

<style lang="less">
#app {
  width: 980px;
  margin: 0 auto;
  padding: 30px;
}
.title {
  font-size: 20px;
  color: #333;
}
.pop-cart {
  float: right;
}
.el-breadcrumb {
  padding: 20px 0;
}
</style>
